inherited dtmsb_MachineTempMaster: Tdtmsb_MachineTempMaster
  OldCreateOrder = True
  Left = 448
  Top = 236
  Height = 441
  Width = 729
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from sb_MachineTempMaster where 0=1'
    object adsMasterBillID: TStringField
      DisplayLabel = #20027#38190'ID'
      FieldName = 'BillID'
    end
    object adsMasterBillNo: TStringField
      DisplayLabel = #32534#21495
      FieldName = 'BillNo'
    end
    object adsMasterBillType: TStringField
      DisplayLabel = #31867#22411
      FieldName = 'BillType'
    end
    object adsMasterTitle: TStringField
      DisplayLabel = #27169#26495#26631#39064#25551#36848
      FieldName = 'Title'
      Size = 100
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496#37096#38376'ID'
      FieldName = 'DeptID'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from sb_MachineTempMaster'
    object adsMasterEditBillID: TStringField
      DisplayLabel = #20027#38190'ID'
      FieldName = 'BillID'
    end
    object adsMasterEditBillNo: TStringField
      DisplayLabel = #32534#21495
      FieldName = 'BillNo'
    end
    object adsMasterEditBillType: TStringField
      DisplayLabel = #31867#22411
      FieldName = 'BillType'
    end
    object adsMasterEditTitle: TStringField
      DisplayLabel = #27169#26495#26631#39064#25551#36848
      FieldName = 'Title'
      Size = 100
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496#37096#38376'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object adsDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from sb_MachineTempDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 160
    Top = 40
    object adsDetailID: TStringField
      FieldName = 'ID'
    end
    object adsDetailBillID: TStringField
      DisplayLabel = #20851#32852'ID'
      FieldName = 'BillID'
    end
    object adsDetailOrderID: TIntegerField
      DisplayLabel = #39034#24207
      FieldName = 'OrderID'
    end
    object adsDetailParts: TStringField
      DisplayLabel = #37096#20301
      FieldName = 'Parts'
      Size = 50
    end
    object adsDetailCycle: TStringField
      DisplayLabel = #21608#26399
      FieldName = 'Cycle'
    end
    object adsDetailOilType: TStringField
      DisplayLabel = #27833#31867
      FieldName = 'OilType'
    end
    object adsDetailOilMass: TFloatField
      DisplayLabel = #27833#37327'('#20811')'
      FieldName = 'OilMass'
    end
    object adsDetailOilMassMemo: TStringField
      DisplayLabel = #27833#37327#35828#26126
      FieldName = 'OilMassMemo'
      Size = 50
    end
    object adsDetailContent: TStringField
      DisplayLabel = #28070#28369#35828#26126
      FieldName = 'Content'
      Size = 500
    end
    object adsDetailWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsDetailWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsDetailModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsDetailModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsDetailRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  object frdsDetail: TfrDBDataSet
    DataSet = adsDetail
    Left = 56
    Top = 240
  end
  object adsUserCompany: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select b.DeptID, b.DeptCode, b.DeptName from xt_CompanySet a '#13#10'j' +
      'oin da_Department b on a.CompanyID=b.DeptID'#13#10'where a.UserID=(sel' +
      'ect UserID from xt_Users where UserCode=:UserCode)'
    Parameters = <
      item
        Name = 'UserCode'
        Size = -1
        Value = Null
      end>
    Left = 288
    Top = 104
  end
  object adsBrowseDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from sb_MachineTempDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 288
    Top = 40
    object StringField1: TStringField
      FieldName = 'ID'
    end
    object StringField2: TStringField
      DisplayLabel = #20851#32852'ID'
      FieldName = 'BillID'
    end
    object adsBrowseDetailOrderID: TIntegerField
      DisplayLabel = #39034#24207
      FieldName = 'OrderID'
    end
    object adsBrowseDetailParts: TStringField
      DisplayLabel = #37096#20301
      FieldName = 'Parts'
      Size = 50
    end
    object adsBrowseDetailCycle: TStringField
      DisplayLabel = #21608#26399
      FieldName = 'Cycle'
    end
    object adsBrowseDetailOilType: TStringField
      DisplayLabel = #27833#31867
      FieldName = 'OilType'
    end
    object adsBrowseDetailOilMass: TFloatField
      DisplayLabel = #27833#37327'('#20811')'
      FieldName = 'OilMass'
    end
    object adsBrowseDetailOilMassMemo: TStringField
      DisplayLabel = #27833#37327#35828#26126
      FieldName = 'OilMassMemo'
      Size = 50
    end
    object adsBrowseDetailContent: TStringField
      DisplayLabel = #28070#28369#35828#26126
      FieldName = 'Content'
      Size = 500
    end
    object StringField10: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object DateTimeField1: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object StringField11: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object DateTimeField2: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object StringField12: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
end
